<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css"
          rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ"
          crossorigin="anonymous">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.2/font/bootstrap-icons.css"
          rel="stylesheet" integrity="sha384-b6lVK+yci+bfDmaY1u0zE8YYJt0TZxLEAFyYSLHId4xoVvsrQu3INevFKo+Xir8e"
          crossorigin="anonymous">
    <link rel="stylesheet" href="admin-style.css">
    <script src="admin.js" type="module"></script>
    <title>Refact Server Login</title>
</head>
<body>
<div class="container">
  <div class="row justify-content-center">
    <div class="col-md-6">
      <form id="login-form">
        <div class="text-center">      
          <svg class="admin-logo mb-5" width="701" height="115" viewBox="0 0 701 115" fill="none" xmlns="http://www.w3.org/2000/svg">
            <path d="M79.282 114.261C74.418 114.261 70.066 113.323 66.226 111.445C62.4713 109.653 59.5273 106.965 57.394 103.381C55.2607 99.7973 54.194 95.4026 54.194 90.1973V78.0373C54.194 75.4773 53.3407 73.3866 51.634 71.7653C49.9273 70.0586 47.666 69.0773 44.85 68.8213V58.0693C47.666 57.8133 49.9273 56.7893 51.634 54.9973C53.3407 53.12 54.194 50.9866 54.194 48.5973V36.6933C54.194 31.5733 55.2607 27.2213 57.394 23.6373C59.6127 20.0533 62.5993 17.3226 66.354 15.4453C70.194 13.4826 74.5033 12.5013 79.282 12.5013H84.914V24.5333H81.074C77.5753 24.5333 74.7167 25.728 72.498 28.1173C70.3647 30.4213 69.298 33.6213 69.298 37.7173V46.9333C69.298 51.968 67.9753 56.0213 65.33 59.0933C62.6847 62.08 59.2713 64.128 55.09 65.2373L55.218 61.3973C59.3993 62.592 62.77 64.7253 65.33 67.7973C67.9753 70.8693 69.298 74.8373 69.298 79.7013V89.1733C69.298 93.44 70.3647 96.7253 72.498 99.0293C74.7167 101.248 77.5753 102.357 81.074 102.357H84.914V114.261H79.282Z" fill="#E7150D"/>
            <path d="M0 114.261L0 12.3733H15.232V114.261H0ZM4.992 114.261V102.357H33.152V114.261H4.992ZM4.992 24.2773V12.3733L33.152 12.3733V24.2773H4.992Z" fill="#E7150D"/>
            <path d="M668.441 98.944L668.441 28.8L679.065 28.8L679.065 98.944H668.441ZM644.561 98.944V90.368L700.641 90.368V98.944L644.561 98.944ZM655.033 37.376V28.8L673.817 28.8V37.376L655.033 37.376ZM667.545 15.872V3.58399L679.833 3.58398V15.872L667.545 15.872Z" fill="#0E0E10"/>
            <path fill-rule="evenodd" clip-rule="evenodd" d="M624.371 90.0572L624.638 98.9437L634.622 98.9437L634.622 53.8877C634.622 36.9793 621.615 27.2637 605.414 27.2637C595.192 27.2637 583.522 30.7966 577.676 39.5689L585.729 45.4302C589.07 38.3592 597.642 35.5837 605.158 35.5837C615.991 35.5837 624.126 42.0529 624.126 53.5037V57.3437L606.846 57.3437C596.777 57.3437 588.969 59.349 583.422 63.3597C577.876 67.3704 575.102 73.0023 575.102 80.2557C575.102 84.437 576.041 88.0637 577.918 91.1357C579.881 94.1223 582.612 96.4263 586.11 98.0477C589.609 99.669 594.82 100.48 599.428 100.48C608.951 100.48 619.591 96.7002 624.371 90.0572ZM624.126 78.0556V65.5357L606.334 65.5357C599.849 65.5357 594.772 66.773 591.102 69.2477C587.433 71.7223 585.598 75.221 585.598 79.7437C585.598 83.4983 586.921 86.4423 589.566 88.5757C592.212 90.6237 595.668 91.6477 599.934 91.6477C610.6 91.6477 619.285 87.1941 624.126 78.0556Z" fill="#0E0E10"/>
            <path d="M541.639 98.9441L541.639 85.2481L555.207 85.248L555.207 98.944L541.639 98.9441Z" fill="#0E0E10"/>
            <path d="M490.179 96.5121C493.081 98.1335 496.665 98.9441 500.931 98.9441H517.659V90.3681H504.515C501.102 90.3681 498.499 89.8561 496.707 88.8321C494.915 87.7228 493.721 86.3148 493.123 84.6081C492.526 82.8161 492.227 80.8961 492.227 78.8481V37.3761L515.907 37.3761V28.8001L492.227 28.8001V12.2847L481.731 12.2847V28.8001L464.195 28.8001V37.3761L481.731 37.3761V78.8481C481.731 82.9441 482.414 86.5281 483.779 89.6001C485.23 92.5868 487.363 94.8908 490.179 96.5121Z" fill="#0E0E10"/>
            <path d="M427.225 100.48C420.057 100.48 413.828 98.9864 408.537 95.9997C403.247 92.9277 399.151 88.661 396.249 83.1997C393.348 77.7384 391.897 71.2957 391.897 63.8717C391.897 56.4477 393.391 50.005 396.377 44.5437C399.364 38.997 403.503 34.7304 408.793 31.7437C414.084 28.757 420.271 27.2637 427.353 27.2637C432.815 27.2637 437.764 28.2877 442.201 30.3357C446.724 32.3837 450.393 35.285 453.209 39.0397C453.286 39.1394 453.362 39.2396 453.436 39.3404L445.229 45.3142C444.132 43.4323 442.697 41.8102 440.921 40.4477C437.252 37.6317 432.729 36.2237 427.353 36.2237C422.404 36.2237 418.052 37.3757 414.297 39.6797C410.543 41.8983 407.641 45.0557 405.593 49.1517C403.545 53.2477 402.521 58.1543 402.521 63.8717C402.521 72.405 404.74 79.1464 409.177 84.0957C413.7 89.045 419.716 91.5197 427.225 91.5197C430.468 91.5197 433.497 90.8797 436.313 89.5997C439.215 88.3197 441.689 86.485 443.737 84.0957C444.214 83.5202 444.655 82.924 445.062 82.3071L453.191 88.2233C453.03 88.4284 452.865 88.6312 452.697 88.8317C449.625 92.501 445.871 95.3597 441.433 97.4077C437.081 99.4557 432.345 100.48 427.225 100.48Z" fill="#0E0E10"/>
            <path fill-rule="evenodd" clip-rule="evenodd" d="M366.371 90.0572L366.638 98.9437L376.622 98.9437L376.622 53.8877C376.622 36.9793 363.615 27.2637 347.414 27.2637C337.192 27.2637 325.522 30.7966 319.676 39.5689L327.729 45.4302C331.07 38.3592 339.642 35.5837 347.158 35.5837C357.991 35.5837 366.126 42.0529 366.126 53.5037V57.3437L348.846 57.3437C338.777 57.3437 330.969 59.349 325.422 63.3597C319.876 67.3704 317.102 73.0023 317.102 80.2557C317.102 84.437 318.041 88.0637 319.918 91.1357C321.881 94.1224 324.612 96.4263 328.11 98.0477C331.609 99.669 336.82 100.48 341.428 100.48C350.951 100.48 361.591 96.7002 366.371 90.0572ZM366.126 78.0556V65.5357H348.334C341.849 65.5357 336.772 66.773 333.102 69.2477C329.433 71.7224 327.598 75.221 327.598 79.7437C327.598 83.4984 328.921 86.4424 331.566 88.5757C334.212 90.6237 337.668 91.6477 341.934 91.6477C352.6 91.6477 361.285 87.1941 366.126 78.0556Z" fill="#0E0E10"/>
            <path d="M273.485 98.944L273.485 20.608C273.485 16.512 274.168 12.928 275.533 9.85601C276.984 6.78401 279.203 4.39468 282.189 2.68801C285.176 0.896011 288.973 8.4592e-06 293.581 7.65351e-06L307.789 0V8.576L296.141 8.57601C293.837 8.57601 291.747 8.91735 289.869 9.60001C288.077 10.1973 286.669 11.3493 285.645 13.056C284.621 14.6773 284.109 17.024 284.109 20.096L284.109 98.944H273.485ZM255.949 37.376V28.8L307.789 28.8V37.376L255.949 37.376Z" fill="#0E0E10"/>
            <path fill-rule="evenodd" clip-rule="evenodd" d="M194.379 96.1277C199.584 99.029 205.771 100.48 212.939 100.48C221.984 100.48 229.451 98.261 235.339 93.8237C237.508 92.1889 239.365 90.3283 240.908 88.2418L232.778 82.3246C231.532 84.2248 229.911 85.8818 227.915 87.2957C223.904 90.1117 218.912 91.5197 212.939 91.5197C207.904 91.5197 203.595 90.4104 200.011 88.1917C196.427 85.8877 193.654 82.6877 191.691 78.5917C189.983 74.787 189.052 70.4171 188.898 65.482L243.776 65.4819C245.454 44.2877 235.873 27.2637 213.195 27.2637C205.942 27.2637 199.712 28.757 194.507 31.7437C189.302 34.645 185.291 38.8264 182.475 44.2877C179.659 49.6637 178.251 56.149 178.251 63.7437C178.251 71.3384 179.616 77.909 182.347 83.4557C185.163 88.917 189.174 93.141 194.379 96.1277ZM189.362 57.1762C190.214 51.5946 192.185 47.0424 195.275 43.5197C199.542 38.5703 205.515 36.0957 213.195 36.0957C226.461 36.0957 234.443 45.2454 234.443 57.418L189.362 57.1762Z" fill="#0E0E10"/>
            <path d="M170.449 38.1572C167.847 36.7197 164.695 36.3512 161.164 36.3512C146.621 36.3512 139.082 50.3954 135.82 62.7192L134.028 50.9432C138.422 38.1782 147.911 27.2632 162.444 27.2632C165.187 27.2632 167.9 27.6526 170.449 28.4221V38.1572ZM127.372 98.9432L127.372 28.7992L137.1 28.7992L137.996 45.8232L137.996 98.9432H127.372Z" fill="#0E0E10"/>
          </svg>      
        </div>
        <div class="login-form">
          <div class="mb-3">
            <input type="password" class="form-control" id="token" placeholder="Token">
            <div class="token-error d-none">Invalid credentials.</div>
          </div>
          <div class="d-grid col-5 mx-auto">
            <button type="submit" class="btn login-button btn-primary">Login</button>
          </div>
        </div>
      </form>
    </div>
  </div>
</div>
<footer class="text-center mt-4 py-3">
  <p>&copy; 2025 Small Magellanic Cloud AI Ltd.</p>
</footer>
</body>
</html>
